import 'package:dss_base/dss_base.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class LandWidget extends StatelessWidget {
  final Widget child;
  final double? width;
  final double? height;

  const LandWidget({super.key, required this.child, this.height, this.width});

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: width ?? ScreenUtilX.landContentWidth,
      height: height,
      child: child,
    );
  }
}

class DefaultPort extends StatelessWidget {
  const DefaultPort({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        alignment: Alignment.center,
        child: Text(
          '手机端正在开发中，请在电脑桌面查看',
          style: TextStyle(fontSize: 20, color: Colors.black),
        ),
      ),
    );
  }
}
